import request from '/@/utils/request';


//获取分页列表
export function getList(params: object) {
    return request({
        url: '/TattooList/index',
        method: 'post',
        data: params,
    });
}

// 编辑分类
export function edit(params:Object) {
    return request({
        url:'/TattooList/update',
        method:'post',
        data:params
    })
}


// 获取全部分类
export function getoption(){
    return request({
        url:'/TattooList/getoption',
        method:'get'
    })
}



// 产品分类
export function Tattoo() {
    return request({
        url:'/Tattoo/list',
        method:'get'
    })
}

   
//保存
export function save(params: object) {
    return request({
        url: '/TattooList/save',
        method: 'post',
        data: params,
    });
}

//删除
export function del(id: String) {
    return request({
        url: '/TattooList/delete',
        method: 'post',
        data: { id },
    });
}
  

  